package com.cookor.poi.modules.sys.dao;

import com.cookor.poi.common.persistence.annotation.MyBatisDao;
import com.cookor.poi.modules.sys.entity.SysIndexHits;
import com.cookor.poi.modules.sys.entity.SysIndexHitsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@MyBatisDao
public interface SysIndexHitsDao {
    long countByExample(SysIndexHitsExample example);

    int deleteByExample(SysIndexHitsExample example);

    int insert(SysIndexHits record);

    int insertSelective(SysIndexHits record);

    List<SysIndexHits> selectByExample(SysIndexHitsExample example);

    int updateByExampleSelective(@Param("record") SysIndexHits record, @Param("example") SysIndexHitsExample example);

    int updateByExample(@Param("record") SysIndexHits record, @Param("example") SysIndexHitsExample example);

    void updateHits();

    Integer getHits();

    void addHits();
}